home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gFirstName, gLastName, gDataTub, gPrint
- puppetSound("single click")
- updateStage()
- puppetSprite(5, 1)
- set the castNum of sprite 5 to the number of member "print hi"
- updateStage()
- repeat while the stillDown
- nothing()
- end repeat
- set the castNum of sprite 5 to the number of member "print"
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- printStuff = the text of field "print stuff"
- doc = new(xtra("PrintOMatic"))
- if not objectp(doc) then
- alert("Sorry - Unable to print because of an error." && doc)
- else
- setProgressPict(doc, member("print pict"))
- setLandscapeMode(doc, 0)
- newPage(doc)
- append(doc, printStuff, 1)
- print(doc)
- doc = 0
- end if
- end
-